home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3errdb.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_ERRDB_H = 1;
- include("oops/r3root.js")
-
-
- var R3CLID_ERRORDATABASE = 596;
-
-
-
-
- // Description: Registers a error code/error string pair. This is a class method.
- // p1: Integer, code
- // p3: Integer, string
-
- R3ERRDBCM_REGISTERERROR = 596000;
-
- function mR3ERRDBCM_REGISTERERROR(p1, p3) {
- DoA2(this.r3obj, 596000, p1, R3TID_INTEGER, 0, p3, R3TID_BYTE, 0);
- }
-
- // Description: Get an error string for a given error code. This is a class method.
- // Returns: Integer, error string
- // p3: Integer, error code
-
- R3ERRDBCM_GETERRORSTRING = 596001;
-
- function mR3ERRDBCM_GETERRORSTRING(p3) {
- return DoA(this.r3obj, 596001, p3, R3TID_INTEGER, 0);
- }
-
-
-
-
-
-
- function r3Errordatabase () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_ERRORDATABASE, arguments);
- }
- // Methods
- this.REGISTERERROR=mR3ERRDBCM_REGISTERERROR;
- this.GETERRORSTRING=mR3ERRDBCM_GETERRORSTRING;
-
- // Attributes
- }
-
- r3Errordatabase.prototype=new r3Root;
- // r3errdb.h_H